﻿using AutoMapper;
using Oplug.EntityFramework.RossLive;

namespace Oplug.CoolTower.AutoMapper.Profiles
{
    public class EntityProfile: Profile
    {
        public EntityProfile()
        {
            CreateMap<FormMethods, DTO.FormMethods>();
            CreateMap<DTO.FormMethods, FormMethods>();
            CreateMap<DataSQL, DTO.DataSQLDto>();
            CreateMap<DTO.DataSQLDto, DataSQL>();

            CreateMap<DataSQL, DTO.DataSQLSimple>();

        }
    }
}
